import { BlueprintRunButton } from './BlueprintRunButton';
import CodeBlock from '@theme/CodeBlock';

<div className="margin-vert--sm">
	{!props.justButton && (
		<CodeBlock title={props.title} language="json">
			{props.display || JSON.stringify(props.blueprint, null, '\t')}
		</CodeBlock>
	)}
	{!props.noButton && <BlueprintRunButton blueprint={props.blueprint} />}
</div>
